import { DatePickerColumnType } from 'vant';
import { PropType } from 'vue';

export const datePickerProps = {
	name: {
		type: String,
	},
	value: {
		type: String,
	},
	disabled: {
		type: Boolean,
		default: false,
	},
	placeholder: {
		type: String,
		default: '请选择时间',
	},
	format: {
		type: String,
		default: 'YYYY-MM-DD HH:mm:ss',
	},
	dateType: {
		type: Array as PropType<any>,
		default: [],
	},
	timeType: {
		type: Array as PropType<any>,
		default: [],
	},
	title: {
		type: String,
		default: '',
	},
};
